package com.hourse.platform.vo;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;
import java.util.*;

/**
 * @使用描述: WxUserSession
 */
@ApiModel(description = "用户会话 session")
@Data
public class UserSession extends BaseVo implements Serializable {

    /**
     * 用户ID
     */
    private String userId;

    /**
     * 用户令牌
     */
    private String token;

    /**
     * 账号
     */
    private String account;


    private boolean isAdmin;


    private List<String> allowPaths = new ArrayList<>();


    private Set<String> roles = new HashSet<>();

    private String curtRoleGroupId;

    private String currentEnterPriseId;

    private Map<String,String> curtNextNodeRoleCodeMap;

}
